package com.aster.service.manage.service;


import com.aster.common.base.BaseService;
import com.aster.common.dto.UserToken;
import com.aster.common.exception.ServiceException;
import com.aster.common.utils.PageUtils;
import com.aster.service.manage.domain.TbEscortEnterpriseInfo;
import com.aster.service.manage.domain.TbEscortUserDuty;
import com.aster.service.manage.dto.DtoEscortUserDuty;
import com.aster.service.manage.service.criteria.EscortUserDutyCriteria;

import java.util.List;

/**
 * 
 * <br>
 * <b>功能：</b>TbEscortUserDutyService<br>
 */
public interface EscortUserDutyService extends BaseService {

    /**
     * 根据条件查询值班信息
     * @param tbEscortUserDuty
     * @return
     */
    List<TbEscortUserDuty> getEscortUserDutyList(TbEscortUserDuty tbEscortUserDuty);

    /**
     * 编辑值班表
     * @param tbEscortUserDuty 值班信息数据库模型
     * @param userToken
     * @throws ServiceException
     */
    void editDutyState(TbEscortUserDuty tbEscortUserDuty, UserToken userToken) throws ServiceException;

    List<TbEscortUserDuty> queryByIdAndDutyTime(TbEscortUserDuty tbEscortUserDuty);
}
